<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">



    <input  name="row[dingdan_id]" type="hidden" value="{$dingdanid}">
    <input  name="row[shouhuo_id]" type="hidden" value="{$dingdaninfo.shouhuo_id}">



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Chepai')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-chepai"  data-rule="required" class="form-control selectpage" name="row[chepai]"   data-field="chepai" data-source="wl_cheliang/index" type="text" value="">
        </div>
    </div>

<!--    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Checi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-checi" class="form-control" name="row[checi]" type="text" value="">
        </div>
    </div>-->

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start" class="form-control" name="row[start]" type="text" value="{$dingdaninfo.start}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tidizhi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tidizhi" class="form-control" name="row[tidizhi]" type="text" value="{$dingdaninfo.fahuoaddr|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Desti')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-desti" class="form-control" name="row[desti]" type="text" value="{$dingdaninfo.desti}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xiedizhi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xiedizhi" class="form-control" name="row[xiedizhi]" type="text" value="{$dingdaninfo.shouhuoaddr}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Huowu')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-huowu" class="form-control" name="row[huowu]" type="text" value="{$dingdaninfo.huowu}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhouliang')}:</label>
        <div class="col-xs-12 col-sm-8">



            <div class="input-group">
                <input id="c-zhongliang" class="form-control" data-rule="required;range(1~{$maxzhong})"  name="row[zhongliang]" type="number" value="{$maxzhong}">
                <span class="input-group-addon">吨</span>
            </div>



        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tihuoshixian')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tihuoshixian"  class="form-control datetimepicker" data-date-format="YYYY-MM-DD" name="row[tihuoshixian]"  value="{$dingdaninfo.fahuoriqi|date='y-m-d',###}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Daoshixian')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-daoshixian"  class="form-control datetimepicker" data-date-format="YYYY-MM-DD" name="row[daoshixian]"  value="{$dingdaninfo.shouhuoriqi|date='y-m-d',###}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('运费')}:</label>
        <div class="col-xs-12 col-sm-8">


            <div class="input-group">
                <span class="input-group-addon">¥</span>
                <input   class="form-control" step="1" name="row[yunfei]" type="number" value="">
                <span class="input-group-addon">元</span>
            </div>


        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
